package software.agileCourse2013.KillerGame.service.models;


public class RoomListModel {
	private static RoomListModel roomList;
	private RoomModel[] rooms = new RoomModel[10];
	
	private RoomListModel(){
	}
	
	public static RoomListModel getInstance(){
		if (roomList == null) {
			roomList = new RoomListModel();
		}
		return roomList;
	}
	
	/**
	 * @param index
	 * @return
	 */
	public RoomModel getRoom(int index) {
		return rooms[index];
	}
}
